@charset "utf-8";
@import "_reset";
@import "iconfont";
.img_warp {
    a {
        display: block;
        img {
            width: 100%;
            height: 100%;
        }
    }
}

.new_song,.com_list {
    .com_hid {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: normal;
    }
    li {
        padding: 6px 10px;
        display: flex;
        justify-content: space-between;
        .new_song_left {
//          width: 90%;
            h3 {
                //                          line-height: 1;
                font-size: 17px;
                overflow: hidden;
                font-weight: normal;
            }
            p {
                //                          line-height: 1;
                font-size: 12px;
                color: #888;
            }
            .song_span {
                color: #888;
                margin-left: 4px;
                font-size: 17px;
            }
        }
        .new_song_right {
//          width: 7%;
            background: url(../img/index_icon_2x.png) no-repeat;
            background-size: 166px 97px;
            background-position: -24px 5px;
            display: flex;
            align-items: center;
        }
    }
}
body{
    background-color: #fcfcfd;
}
.content {
    .m-hometop {
        .topfix {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 100;
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: justify;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            -webkit-box-align: center;
            -webkit-align-items: center;
            align-items: center;
            padding: 0 10px;
            width: 100%;
            height: 64px;
            background-color: #d43c33;
            box-sizing: border-box;
            .topfl {
                position: relative;
                width: 142px;
                height: 25px;
                .topsvg {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 142px;
                    height: 25px;
                }
            }
            .topfr {
                border: 1px solid white;
                border-radius: 50px;
            }
            .topbton {
                position: relative;
                display: inline-block;
                height: 30px;
                line-height: 30px;
                padding: 0 10px;
                color: #fff;
                font-size: 15px;
            }
        }
    }
    .nav {
        position: fixed;
        top: 64px;
        width: 100%;
        left: 0;
        z-index: 100;
        background: white;
        border-bottom: 1px solid #d9d9d9;
        ul {
            height: 40px;
            line-height: 40px;
            display: flex;
            justify-content: space-around;
            li {
                width: 33.3%;
                text-align: center;
                color: #333;
                font-size: 15px;
                line-height: 40px;
                position: relative;
                cursor: pointer;
            }
        }
        .li_active {
            color: #d33a31;
            &::after {
                content: "";
                height: 2px;
                background: #d33a31;
                display: block;
                width: 56%;
                margin: 0 auto;
                position: absolute;
                bottom: -1px;
                left: 50%;
                transform: translateX(-50%);
            }
        }
    }
    .main {
        width: 100%;
        height: 100%;
        background: #fcfcfd;
        margin-top: 104px;
        >div {
            display: none;
        }
        .div_active {
            display: block;
        }
        .recommend {
            padding-top: 20px;
            h2 {
                position: relative;
                padding-left: 9px;
                margin-bottom: 14px;
                font-size: 17px;
                height: 20px;
                line-height: 20px;
                font-weight: normal;
                &::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 50%;
                    margin-top: -9px;
                    width: 2px;
                    height: 16px;
                    background-color: #d33a31;
                }
            }
            .song_list_ul {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                padding-bottom: 24px;
                >li {
                    flex-shrink: 1;
                    width: 33%;
                    position: relative;
                    padding-bottom: 16px;
                    .li_ab {
                        position: absolute;
                        right: 5px;
                        top: 2px;
                        font-size: 12px;
                        z-index: 3;
                        padding-left: 13px;
                        color: #fff;
                        background-position: 0;
                        background-repeat: no-repeat;
                        background-size: 11px 10px;
                        background-image: url(../img/下载.svg);
                    }
                    h3 {
                        a {
                            color: #333333;
                        }
                        font-weight: normal;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        padding: 0px 2px 0 6px;
                        line-height: 1.2;
                        font-size: 13px;
                        t-box-orient: vertical;
                    }
                }
            }
            .new_song{
                .new_song_left{
                    width: 90%;
                }
                .new_song_right{
                    width: 7%;
                }
            }
        }
        .hot {
            .hot_top {
                position: relative;
                padding-top: 38.9%;
                overflow: hidden;
                background-size: contain;
                background: url(../img/hot_music_bg_2x.jpg);
                display: -webkit-box;
                display: -webkit-flex;
                display: flex;
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                -webkit-flex-direction: column;
                flex-direction: column;
                -webkit-box-pack: center;
                -webkit-justify-content: center;
                justify-content: center;
                z-index: 2;
                padding-left: 20px;
                box-sizing: border-box;
                .hotbg {
                    position: absolute;
                    top: 30px;
                    left: 12px;
                    width: 142px;
                    height: 67px;
                    background-position: -24px -30px;
                    background-image: url(../img/index_icon_2x.png);
                    background-size: 166px 97px;
                }
                .hottime {
                    position: absolute;
                    left: 12px;
                    top: 102px;
                    color: hsla(0, 0%, 100%, .8);
                    font-size: 12px;
                    -webkit-transform: scale(.91);
                    transform: scale(.91);
                    -webkit-transform-origin: left top;
                    transform-origin: left top;
                }
            }
            .hot_content {
                .hot_song{
                    li {
                        .num {
                            width: 6%;
                            display: flex;
                            align-items: center;
                            color: #df3436;
                            -webkit-box-align: center;
                            -webkit-align-items: center;
                            align-items: center;
                            font-size: 17px;
                            color: #df3436;
                        }
                        .new_song_left{
                            width: 84%;
                        }
                        .new_song_right{
                            width: 7%;
                        }
                    }
                }
            }
        }
        .search{
            .m-input {
                padding: 15px 10px;
                .inputcover {
                    position: relative;
                    width: 100%;
                    height: 30px;
                    padding: 0 30px;
                    box-sizing: border-box;
                    background: #ebecec;
                    border-radius: 30px;
                    .icon-iconfonticonfontsousuo1{
                        display: inline-block;
                        width: 13px;
                        height: 13px;
                        color: #333333;
                        position: absolute;
                        left: 0;
                        top: 8px;
                        margin: 0 8px;
                        vertical-align: middle;
                    }
                }
                .input {
                    width: 100%;
                    height: 30px;
                    line-height: 18px;
                    background: transparent;
                    font-size: 14px;
                    color: #333;
                    border: none;
                }
                .holder {
                    position: absolute;
                    left: 30px;
                    top: 5px;
                    font-size: 14px;
                    color: #c9c9c9;
                    background: transparent;
                    pointer-events: none;
                }
            }
            .search_song{
                padding: 15px 10px 0;
                .search_title{
                    font-size: 12px;
                    line-height: 12px;
                    color: #666;
                    font-weight: normal;
                }
                .list{
                    padding: 10px 0px;
                    li{
                        display: inline-block;
                        height: 32px;
                        padding: 0 10px;
                        border: 1px solid black;
                        line-height: 32px;
                        text-align: center;
                        border-color: #d3d4da;
                        border-radius: 32px;
                        font-size: 14px;
                        margin-right: 8px;
                        margin-bottom: 8px;
                        a{
                            color: #333;
                        }
                    }
                }
            }
        }
    }
}